package top.ffhome.system.mapper;

import org.apache.ibatis.annotations.Param;

import top.ffhome.common.mapper.BaseMapper;
import top.ffhome.system.entity.SysMenu;

public interface SysMenuMapper extends BaseMapper<SysMenu> {
	Integer getMaxSortByParentId(@Param("parentId") Long parentId);

	int moveNextSiblingsSort(@Param("parentId") Long parentId, @Param("sort") Integer sort);
}
